/**  黑马基金 ---- 短期爆发基金  **/
"use strict";

module.exports = (app) => {
  const { STRING, INTEGER, DATE } = app.Sequelize;

  const FundHorseDark = app.model.define(
    "fund_horse_dark",
    {
      id: { type: INTEGER, primaryKey: true, autoIncrement: true },
      fund_code: STRING(7),
      fund_name: STRING(36),
      module: STRING(12), // 所属板块
      created_at: DATE,
      updated_at: DATE,
    },
    {
      freezeTableName: true, // 默认false修改表名为复数，true不修改表名，与数据库表名同步
      tableName: "fund_horse_dark",
      timestamps: false,
    }
  );

  return FundHorseDark;
};
